<?php /* Smarty version Smarty-3.0.7, created on 2013-12-27 15:06:01
         compiled from "E:/runtime/other/zqn.sh/app_admin/_view/templates\upload/callback.html" */ ?>
<?php /*%%SmartyHeaderCode:1650952bd26d9be2865-39320166%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'be370042fafc44733dc1c68d78fc7f298a8026ec' => 
    array (
      0 => 'E:/runtime/other/zqn.sh/app_admin/_view/templates\\upload/callback.html',
      1 => 1388127859,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1650952bd26d9be2865-39320166',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="filename"><?php echo $_smarty_tpl->getVariable('Filename')->value;?>
</div>
<div id="error"><?php echo $_smarty_tpl->getVariable('Error')->value;?>
</div>
<script type="text/javascript">
	var filename=document.getElementById('filename');
	var error=document.getElementById('error');
	if(''!==filename.innerHTML){
		parent.$('#'+parent.$('#control').val()).val(filename.innerHTML);
		parent.$('#uploaderror').html('上传成功');		
		window.setTimeout(function(){
			parent.$('#myModal').modal('toggle');
			parent.$('#uploaderror').html('');
			//parent.$('#file').remove(); 			
		},1000);		
	}
	else{
		parent.$('#uploaderror').html(error.innerHTML);
	}
</script>